package com.itasura.delegate;

/**
 * @author sailor wang
 * @date 2018/11/6 3:12 PM
 * @description
 */
public class Client {
    private BusinessDelegate delegate;

    public Client(BusinessDelegate delegate) {
        this.delegate = delegate;
    }

    public void request() {
        delegate.doTask();
    }
}